import http from "@/utils/http.js"
// 获取所有设备
export function getAllDevices(data) {
	return http('AllDevices', {
		...data,
		method: 'get'
	})
}

export function CurrentStatusStatistic(data) {
	return http('CurrentStatusStatistic', {
		...data,
		method: 'get'
	})
}

export function SevenDaysUtility(data) {
	return http('SevenDaysUtility', {
		...data,
		method: 'get'
	})
}

export function MeasureResult(data) {
	return http('MeasureResult', {
		...data,
		method: 'get'
	})
}

export function MeasureResultDetail(data) {
	return http('MeasureResultDetail', {
		...data,
		method: 'get'
	})
}

export function DeleteDevice(data) {
	return http('DeleteDevice', {
		...data,
		method: 'get'
	})
}
export function SearchReport(data) {
	return http('Search', {
		...data,
		method: 'get'
	})
}

export function SevenDaysDeviceUtility(data) {
	return http('SevenDaysDeviceUtility', {
		...data,
		method: 'get'
	})
}